package com.xyy.saas.payment.manage.cores.bo;

import com.xyy.saas.payment.manage.cores.vo.RiskControlRuleItem;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class RiskControlPayWhitelistBo implements Serializable {
    /**
     * 自增ID
     */
    private Long id;

    /**
     * 业务线
     */
    private String businessType;

    /**
     * 付款人
     */
    private String payerId;

    /**
     * 付款人姓名
     */
    private String payerName;

    /**
     * 付款人手机号
     */
    private String payerPhone;

    /**
     * 风控对象类型
     */
    private String type;

    private List<RiskControlRuleItem> channelRules;

    /**
     * 白名单有效期-开始时间
     */
    private Date startTime;

    /**
     * 白名单有效期-结束时间
     */
    private Date endTime;

    /**
     * 最后更新时间
     */
    private Date updateTime;

    // 业务冗余字段
    private String whiteListPayType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getPayerId() {
        return payerId;
    }

    public void setPayerId(String payerId) {
        this.payerId = payerId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getPayerName() {
        return payerName;
    }

    public void setPayerName(String payerName) {
        this.payerName = payerName;
    }

    public String getPayerPhone() {
        return payerPhone;
    }

    public void setPayerPhone(String payerPhone) {
        this.payerPhone = payerPhone;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<RiskControlRuleItem> getChannelRules() {
        return channelRules;
    }

    public void setChannelRules(List<RiskControlRuleItem> channelRules) {
        this.channelRules = channelRules;
    }

    public String getWhiteListPayType() {
        return whiteListPayType;
    }

    public void setWhiteListPayType(String whiteListPayType) {
        this.whiteListPayType = whiteListPayType;
    }
}
